<script setup lang='ts'>
import { ref } from 'vue';
import Message from './components/Message.vue';
type messageType='success' | 'error' | 'warning'
const type=ref<messageType>('success')
</script>

<template>
    <div>
      <Message :type="type">确认消息</Message>
    </div>
</template>

<style lang='less' scoped>

</style>